package com.nbsaas.boot.data.rest.convert;

import com.nbsaas.boot.data.data.entity.QuerySnippetParam;
import com.nbsaas.boot.data.api.domain.response.QuerySnippetParamResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* -实体对象转化成响应对象
*/

public class QuerySnippetParamResponseConvert  implements Converter<QuerySnippetParamResponse,QuerySnippetParam> {

    @Override
    public QuerySnippetParamResponse convert(QuerySnippetParam source) {
        QuerySnippetParamResponse  result = new  QuerySnippetParamResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

